﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BugTracker.WebUX.WebCode;

namespace BugTracker.WebUX.Admin
{
    public partial class showimage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpContext context = HttpContext.Current;
            byte[] img = context.Session[BTHttpApplication.Constants.GRIDVIEW_IMG_KEY] as byte[];
            if (img != null)
            {
                context.Response.ContentType = "image/jpg";
                context.Response.BinaryWrite(img);
                context.Response.Flush();
            }
        }
    }
}